package com.bdqn.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Event entity. @author MyEclipse Persistence Tools
 */

public class Event implements java.io.Serializable {

	// Fields

	private Integer eventId;
	private String event;
	private Integer enable;
	private Set logs = new HashSet(0);

	// Constructors

	/** default constructor */
	public Event() {
	}

	/** minimal constructor */
	public Event(String event, Integer enable) {
		this.event = event;
		this.enable = enable;
	}

	/** full constructor */
	public Event(String event, Integer enable, Set logs) {
		this.event = event;
		this.enable = enable;
		this.logs = logs;
	}

	// Property accessors

	public Integer getEventId() {
		return this.eventId;
	}

	public void setEventId(Integer eventId) {
		this.eventId = eventId;
	}

	public String getEvent() {
		return this.event;
	}

	public void setEvent(String event) {
		this.event = event;
	}

	public Integer getEnable() {
		return this.enable;
	}

	public void setEnable(Integer enable) {
		this.enable = enable;
	}

	public Set getLogs() {
		return this.logs;
	}

	public void setLogs(Set logs) {
		this.logs = logs;
	}

}